package cn.edu.ctgu.junitTest;

import java.time.LocalDate;

/**
 * @Title: NextDate.java
 * @Package com.edu.ctgu.junitTest
 * @Description: 输出明天日期
 * @author 史书贤
 * @version V1.0
 */

public class NextDate {
    public static String nextDate(int month,int day,int year){
        LocalDate date=LocalDate.of(year,month,day);
        date=date.minusDays(-1);
        return date.getYear()+"年"+date.getMonthValue()+"月"+date.getDayOfMonth()+"日";
    }
}
